﻿<%@ Page Title="" Language="C#" MasterPageFile="~/_page.Master" AutoEventWireup="true" CodeBehind="Employee-List.aspx.cs" Inherits="SmartSpace.WebApp.Modules.Orgs.Pages.Employee_List" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentTitle" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentBody" runat="server">
    <div class="ss-tbar">
        <asp:HyperLink ID="Add_Employee" runat="server">添加</asp:HyperLink>
    </div>
    <table class="ss-list">
        <tr>
            <th>Code</th>
            <th>Account</th>
            <th>NameCN</th>
            <th>NameEN</th>
            <th>Email</th>
            <th>Phone</th>
            <th>Sex</th>
            <th>IdCardNo</th>
            <th>Birthday</th>
            <th>操作</th>
        </tr>
        <asp:Repeater ID="rep1" runat="server" OnItemCommand="rep1_ItemCommand">
            <ItemTemplate>
                <tr>
                    <td><%# Eval("Code") %></td>
                    <td><%# Eval("Account") %></a></td>
                    <td><%# Eval("NameCN") %></td>
                    <td><%# Eval("NameEN") %></td>
                    <td><%# Eval("Email") %></td>
                    <td><%# Eval("Phone") %></td>
                    <td><%# Eval("Sex") %></td>
                    <td><%# Eval("IdCardNo") %></td>
                    <td><%# Eval("Birthday") %></td>
                    <td>
                        <a href="Employee-Detail.aspx?empyloyeeId=<%# Eval("Id") %>&tag=employeelist">查看</a>
                        <a href="Employee-Edit.aspx?empyloyeeId=<%# Eval("Id") %>">编辑</a>
                        <asp:LinkButton ID="LinkButton1" CommandName="Delete" runat="server" CommandArgument='<%# Eval("Id") %>' Text="删除" />
                    </td>
                </tr>
            </ItemTemplate>
        </asp:Repeater>
    </table>


</asp:Content>
